package org.hardcode.rpc.protocol.base;

import java.io.Serializable;

public class RpcMessage implements Serializable {


    private static final long serialVersionUID = 8035285775232426713L;
    //是否单向发送
    private  boolean oneWay;

    /**
     * 是否异步调用
     */
    private boolean  async;

    public boolean getOneWay() {
        return oneWay;
    }

    public void setOneWay(boolean oneWay) {
        this.oneWay = oneWay;
    }

    public boolean getAsync() {
        return async;
    }

    public void setAsync(boolean async) {
        this.async = async;
    }
}
